package cn.wolfcode.rbac.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class Employee {
    //员工id
    private Long id;

    //员工名称
    private String name;

    //员工密码
    private String password;

    //员工邮箱
    private String email;

    //员工年龄
    private Integer age;

    //管理员
    private Boolean admin = false;//Boolean为包装类型默认值为null,boolean基本类型默认值为false

    //部门id
    private Long deptId;

    //关联部门
    private Department department;

    //关联角色
    private List<Role> roles;



}